package reduce.fz.com.reduce.activity;

import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.Menu;
import android.view.MenuItem;

import reduce.fz.com.reduce.R;

public class TextRecycleActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_story_detail);
        RecyclerView recyclerView = (RecyclerView) findViewById(R.id.story_detail_list);
        LinearLayoutManager mLayoutManager = new LinearLayoutManager(getBaseContext());
        // 设置ItemAnimator
        recyclerView.setItemAnimator(new DefaultItemAnimator());
        // 设置固定大小
        recyclerView.setHasFixedSize(true);
        recyclerView.setLayoutManager(mLayoutManager);
    }

    @Override
    public int getContentRid() {
        return R.layout.activity_story_detail;
    }

    @Override
    public void initWidget() {

    }

    @Override
    public void initListener() {

    }


}
